/**
 * 	write on 2005-10-26 12:24:57.
 */
package org.nanhill.xmlro.gsp.packet;

/**
 * @author alin
 * 
 */
public interface GspPacket<E> {

	void setBody(E object);

	E getBody();

	String getId();

	void setId(String id);

	/**
	 * Get packet begin tag.
	 * 
	 * @param builder
	 *            TODO
	 */
	void appendBeginTag(StringBuilder builder);

	/**
	 * Get packet end tag.
	 * 
	 * @param builder
	 *            TODO
	 */
	void appendEndTag(StringBuilder builder);

}
